﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace SusyGame_Model
{
    [Serializable]
    public class MoneySource
    {
        //Atributos
        private String name;
        private int price;
        private int time;
        private char icon;
        private int pointsGiven;

        //Propiedades
        public char Icon
        {
            get { return icon; }
            set { icon = value; }
        }
        
        public int PointsGiven
        {
            get { return pointsGiven; }
            set { pointsGiven = value; }
        }

        public String Name
        {
            get { return name; }
            set { name = value; }
        }
        
        public int Price
        {
            get { return price; }
            set { price = value; }
        }

        public int Time
        {
            get { return time; }
            set { time = value; }
        }

        //Constructor
        public MoneySource()
        {
            //Le asignamos los valores a los atributos del anfora
            this.name = "Anfora";
            this.price = 25;
            this.time = 2;
            this.Icon = '$';
            this.PointsGiven = 25;
        }
    }
}
